<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib uri="estateTag" prefix="estateTag" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>

		<title>业主拼购记录</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link rel="stylesheet" href="../resource/css/global.css" type="text/css"></link>
	    <link rel="stylesheet" type="text/css" href="../resource/css/easyui/default/easyui.css"></link>
	    <link rel="stylesheet" href="../resource/css/whole.css" type="text/css"></link>
		<link rel="stylesheet" type="text/css" href="../resource/js/kindeditor/skins/default.css"></link>
		<link rel="stylesheet" href="../resource/css/memberCenter/infowithoutmenu.css" type="text/css"></link>
		<script type="text/javascript" src="../resource/js/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript" src="../resource/js/kindeditor/kindeditor.js"></script>
		<script type="text/javascript" src="../resource/js/jquery-1.4.2.js"></script>
		<script type="text/javascript" src="../resource/js/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="<%=basePath%>pinggou/yepinggourecordInfo.js"></script>
	</head>

	<body><estateTag:security></estateTag:security>
		<center><jsp:include page="../index/top.jsp"></jsp:include></center>
      <div style="width: 100%;margin-top: 10px;" align="center">
      <input id="menuCls" type="hidden" value="36">
			<table width="100%" class="layoutTab">
				<tr>
				<!-- 	<td width="20%" align="left" valign="top"><jsp:include page="../menu.jsp"></jsp:include></td> -->
					<td valign="top">
					<form name="form" method="post"
										action="../pinggourecord/savePinggou4Owner.shtml"
										onsubmit="return checkmodify()" enctype="multipart/form-data">
					<div class="position" align="left"><label>您所在的位置：</label>业主后台管理&nbsp;&nbsp;--&gt;&gt;&nbsp;&nbsp;拼购记录</div>
					<br/><div class="info_top"></div>
					<div class="info_mid">
										<table width="710px" style="margin-left: 35px;" border="0" cellpadding="1" cellspacing="1" id="userinfo">
											<tr>
												<th  align="center" colspan="2" height="30px;">
													<b>查看拼购信息 （<font color="red">*</font> 为必填项）</b>
												</th >
											</tr>

											<tr>
												<td align="right" width="16%">
														<font color="red">*</font>真实姓名：
 												</td>
												<td align="left">
														<input id="name" type="text" name="tpRecord.name" size="25" maxlength="50"
															value="${tpRecord.name}" readonly="readonly" style="cursor: not-allowed"/>
															<input type="hidden" value="${id}" name="id"/>
												</td>
											</tr>
											<tr>
											<tr>
												<td align="right">
														<font color="red">*</font>手机：
												</td>
												<td align="left">
														<input type="text" id="pho" name="tpRecord.pho" size="25" maxlength="5"
															value="${tpRecord.pho}" readonly="readonly" style="cursor: not-allowed" />
												</td>
											</tr>
											<tr>
												<td align="right">
														备用电话：
												</td>
												<td align="left">
														<input type="text" name="tpRecord.tel" id="tel" size="25" maxlength="5""
															value="${tpRecord.tel}" readonly="readonly" style="cursor: not-allowed" />
												</td>
											</tr>
											<tr>
												<td align="right">
														<font color="red">*</font>小区名称：
												</td>
												<td align="left">
														<input type="text" id="address" name="tpRecord.address" size="25" maxlength="8"
															value="${tpRecord.address}"  readonly="readonly" style="cursor: not-allowed"/>
												</td>
											</tr>
											<tr>
												<td align="right">
														<font color="red">*</font>参加拼购时间：
												</td>
												<td align="left">
														<input type="text" name="tpRecord.partTime2" id="partTime"
															readonly="readonly" size="25"
															onFocus="WdatePicker({firstDayOfWeek:7,dateFmt:'yyyy-MM'})"
															class="Wdate" size="20" value="<s:date name="tpRecord.partTime" format="yyyy-MM"/>"/>
												</td>
											</tr>
											<tr>
												<td align="right">
														<font color="red">*</font>购买数量：
												</td>
												<td align="left">
														<input type="text" id="buyNum" name="tpRecord.buyNum" size="25" maxlength="8"
															value="${tpRecord.buyNum}" onkeydown="onlyNum();" readonly="readonly" style="cursor: not-allowed"/>
												</td>
											</tr>
											<tr>
												<td align="right">
														拼购品牌：
												</td>
												<td align="left">
														<input type="text" id="proName" disabled="disabled"  size="25" maxlength="19"
															value="${tpRecord.brandName}" readonly="readonly" style="cursor: not-allowed"/>
												</td>
											</tr>
											<tr>
												<td align="right">
														产品名称：
												</td>
												<td align="left">
														<input type="text" name="tpRecord.proName" id="proName"  size="25" maxlength="19"
															value="${tpRecord.proName}" readonly="readonly" style="cursor: not-allowed"/>
												</td>
											</tr>
											<tr>
												<td align="right">
														产品型号：
												</td>
												<td align="left">
														<input type="text" name="tpRecord.model" id="model"  size="25" maxlength="19"
															value="${tpRecord.model}" readonly="readonly" style="cursor: not-allowed"/>
												</td>
											</tr>
											<tr>
												<td align="right">
														咨询成交单价：
												</td>
												<td align="left" id="filter_ke">
												       <input type="text" name="tpRecord.price" id="price"  size="25" maxlength="19"
															value="${tpRecord.price}" readonly="readonly" style="cursor: not-allowed"/>
												</td>
											</tr>
                                            <tr>
												<td align="right">
														咨询成交总价：
												</td>
												<td align="left" id="filter_ke">
														<input type="text" name="tpRecord.total" id="total"  size="25" maxlength="19"
															value="${tpRecord.total}" readonly="readonly" style="cursor: not-allowed"/>
												</td>
											</tr>   
                                            <tr>
												<td align="right">
														咨询成交折扣：
												</td>
												<td align="left" id="filter_ke">
														<input type="text" name="tpRecord.zhekou" id="zhekou"  size="25" maxlength="19"
															value="${tpRecord.zhekou}" readonly="readonly" style="cursor: not-allowed"/>
												</td>
											</tr>
											<tr>
												<td align="right">
														咨询时间：
												</td>
												<td align="left">
														<input type="text" name="tpRecord.queryDate" id="queryDate"
															readonly="readonly" size="25"readonly="readonly" style="cursor: not-allowed"
															value="${tpRecord.queryDate}"/>
												</td>
											</tr>
											<tr>
												<td colspan="2" align="center">
													<input type="hidden" name="tpRecord.categoryId" value="${tpRecord.categoryId}"/>
													<input type="hidden" name="tpRecord.id" value="${tpRecord.id}"/>
													<input type="hidden" name="tpRecord.userId" value="${tpRecord.userId}" />
													<input type="hidden" name="tpRecord.brandId" value="${tpRecord.brandId}" />
													<input type="hidden" name="tpRecord.typeId" value="${tpRecord.typeId}" />
													<input type="hidden" name="tpRecord.modifyTimes" id="modifyTimes" value="${tpRecord.modifyTimes}" />
													<s:if test="tpRecord.modifyTimes<1">
														<input type="submit" value="提&nbsp;交" />&nbsp;&nbsp;
													</s:if>
													<s:else>
														<label><font color="red">拼购记录只能修改一次</font></label>
													</s:else>
													<input type="button" value="返&nbsp;回" onclick="javascript:window.history.go(-1)" />
												</td>
											</tr>
										</table>
										   </div>
								<div class="info_bottom">&nbsp;</div>
									</form>
								</td>
							</tr>
						</table>
		</div>
						<div style="margin-top: 10px;">
		</div>    
		<center> <iframe src="../index/footer.html" width="970" height="120" frameborder="0" scrolling="no"></iframe> </center></body>
</html>